#pragma once

#include "DLNRecord.h"
class DayRecord
{
public:
	DayRecord(const COleDateTime& t,const CString& u);
	
	~DayRecord(void);
	
	//static DayRecord* Parse();
	void Parse(char* line);
	char* FormatRecord();
	
	DayRecord& operator = (const DayRecord& rhs)
	{
		for(int i=0;i<24;i++)
			hours[i]=rhs.hours[i];
		time = rhs.time;
		USN  = rhs.USN;
		strcpy(str,rhs.str);
		return *this;
	}
public:
	DLNRecord hours[24];
	COleDateTime time;
	CString USN;

	char* str;

	
};
